<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>问答列表</title>
<link rel="stylesheet" type="text/css" href="static/style/base.css">
<script language="javascript" src="static/js/dedeajax2.js"></script>
<script language="javascript" src="static/js/jquery-1.4.min.js"></script>
<script language="javascript" src="static/js/ieemu.js"></script>
<script language="javascript" src="static/js/context_menu.js"></script>
<script language="javascript" src="static/js/main.js"></script>
<script language="javascript" src="static/js/list.js"></script>
<script type="text/javascript">
function isDelete(id){
  var t = confirm("确认删除记录 " + id);
  if(t){
    location.href = "?wenda&ct=register&ac=register_delete&id=" + id;
  }
}
function check_status(id){
  $.post("?ct=register&ac=check_status",{id:id},function (){
    location.href = "?ct=register";
  });
}
</script>
<script type="text/javascript">
/*  $(function(){
      alert("asdf");
  });*/
</script>
</head>
<body leftmargin="8" topmargin="8" background='static/images/allbg.gif' onLoad="ContextMenu.intializeContextMenu()">

<!--  内容列表   -->
<form name="form2">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#CFCFCF" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7" >
    <td height="28" colspan="11" background="static/images/tbg.gif" style="padding-left:10px;">
    ◆ 注册用户信息列表

    </td>
</tr>
<tr align="center" bgcolor="#FBFCE2" height="25">
    <td width="4%">ID</td>
    <td width="15%">邮箱</td>
    <td width="8%">姓名</td>
    <td width="10%">手机</td>
    <td width="5%">毕业年份</td>
    <td width="10%">毕业院校</td>
    <td width="5%">最高学历</td>
    <td width="15%">选择院校</td>
    <td width="18%">报名时间</td>
    <td width="5%">状态</td>
    <td width="5%">操作</td>
</tr>
{dede:datalist}
<tr align='center' bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
    <td nowrap>{dede:field.id/}</td>
    <td>{dede:field.email/}</td>
    <td>{dede:field.userName/}</td>
    <td>{dede:field.phone/}</td>
    <td>{dede:field.dateGraduate/}</td>
    <td>{dede:field.schoolGraduate/}</td>
    <td>{dede:field.education function="get_level(@me)"/}</td>
    <td>{dede:field.schoolChoose function="get_schools(@me)"/}</td>
    <td>{dede:field.updateTime/}</td>
    <td>{dede:if $fields['status'] == 0}<span style="color:#f00">未审核</span>{else}<span style="color:#0f0">已通过</span>{/dede:if}</td>
    <td>
        <!-- <a href="?wenda&ct=wenda&ac=wenda_delete&id={dede:field.id/}"><img src='static/images/trun.gif' onclick="isDelete();return false;" title="删除" onclick="return isDelete();" alt="删除"  style='cursor:pointer' border='0' width='16' height='16' /></a> -->
        <a href="#"><img src='static/images/{dede:if $fields['status'] == 0}pass{else}block{/dede:if}.jpg' onclick="check_status({dede:field.id/});return false;" title="通过审核" alt="通过审核"  style='cursor:pointer' border='0' width='16' height='16' /></a>
        <a href="#"><img src='static/images/trun.gif' onclick="isDelete({dede:field.id/});return false;" title="删除" alt="删除"  style='cursor:pointer' border='0' width='16' height='16' /></a>

    </td>
</tr>
{/dede:datalist}
<!-- <tr bgcolor="#ffffff">
<td height="36" colspan="10">
    &nbsp;
    <a href="javascript:selAll()" class="coolbg">全选</a>
    <a href="javascript:noSelAll()" class="coolbg">取消</a>
    <a href="javascript:updateArc(0)" class="coolbg">&nbsp;更新&nbsp;</a>
    <a href="javascript:checkArc(0)" class="coolbg">&nbsp;审核&nbsp;</a>
    <a href="javascript:adArc(0)" class="coolbg">&nbsp;推荐&nbsp;</a>
    <a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg">&nbsp;移动&nbsp;</a>
    <a href="javascript:delArc(0)" class="coolbg">&nbsp;删除&nbsp;</a>
    <?php if($channelid==1) echo "  <a href=\"javascript:kwArc(0)\" class=\"coolbg\">&nbsp;自动关键字&nbsp;</a>\r\n"; ?>
    <a href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="coolbg">&nbsp;增加属性&nbsp;</a>
    <a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="coolbg">&nbsp;删除属性&nbsp;</a>
</td>
</tr> -->
</form>
<tr align="right" bgcolor="#F9FCEF">
    <td height="36" colspan="11" align="center">
        {dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
    </td>
</tr>
</table>

<!--  搜索表单  -->
<form name='form3' action='admin.php' method='get'>
<input type='hidden' name='ct' value='register' />
<input type='hidden' name='search' value='search' />
<table width='98%'  border='0' cellpadding='1' cellspacing='1' bgcolor='#cfcfcf' align="center" style="margin-top:8px">
  <tr bgcolor='#EEF4EA'>
    <td background='static/images/wbg.gif' align='center'>
      <table border='0' cellpadding='0' cellspacing='0' height="32">
        <tr>
        <td nowrap>
          关键字：
        </td>
        <td width='150'>
            <input type='text' name='keyword' value='' style='width:120px' />
        </td>
        <td width='100'>
            <select name='order' style='width:80px'>
            <option value=''>排序...</option>
            <option value='dateGraduate'>毕业年份</option>
            <option value='updateTime'>报名时间</option>
        </select>
      </td>
       <td>
          <input name="imageField" type="image" src="static/images/button_search.gif" width="60" height="22" border="0" class="np" />
       </td>
      </tr>
     </table>
   </td>
  </tr>
</table>
</form>

</body>
</html>